package com.atguigu.yygh.cmn.config;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration//配置类
@EnableTransactionManagement//开启事务管理
@MapperScan("com.atguigu.yygh.cmn.mapper")//设置扫描包
@ComponentScan("com.atguigu.yygh")
@EnableDiscoveryClient//开启nacos 服务
public class CmnConfig {

}